package com.ilearn.iodata.iolingo.service.metadata.core.edm.mapper.api;

/**
 * Created by lyndon on 2018/5/29.
 */
public interface Type<X> {
    Type.PersistenceType getPersistenceType();

    Class<X> getJavaType();

    public static enum PersistenceType {
        ENTITY,
        EMBEDDABLE,
        MAPPED_SUPERCLASS,
        BASIC;

        private PersistenceType() {
        }
    }
}